<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="json" uri="http://www.atg.com/taglibs/json" %>  

<!doctype html>
<html lang="zh-hans">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" href="lib/bootstrap/css/bootstrap.min.css">

<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/main.css">    
<script src="lib/jquery-2.1.1.min.js"></script>
<script src="lib/bootstrap/js/bootstrap.min.js"></script>
<title>HIFO</title>
<script type="text/javascript">
function JudgeUserName()
{
$.ajax(
{
    type: "post",
    url: "checkPhone",
    data: {"phoneNumber":$('#phone').val()},
    success: function (msg) {
       $('#show').text(msg);
    }
})
}
   


</script>
</head>
<body>
<!-- TEST SESSION -->







验证phone：<input name="phone" id="phone" type="text" ><span id="show"></span><br/>
<input id="checkButton" type="button" class="btn btn-primary" value="验证"  onClick="JudgeUserName()"  />




	
		

</body>
</html>
